# -*- coding: utf-8 -*-
#
# Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
# Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved.
# Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://opensource.org/licenses/MIT
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.
#
# Generated by Django 1.11.5 on 2018-12-20 07:50
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('activity_log', '0007_auto_20171025_1835'),
    ]

    operations = [
        migrations.AlterField(
            model_name='useractivitylog',
            name='activity_type',
            field=models.CharField(choices=[('创建', 'add'), ('更新', 'modify'), ('回滚', 'rollback'), ('删除', 'delete'), ('开始', 'begin'), ('结束', 'end'), ('启动', 'start'), ('暂停', 'pause'), ('继续', 'carryon'), ('停止', 'stop'), ('重启', 'restart'), ('查询', 'query')], default='', help_text='操作类型', max_length=32),
        ),
        migrations.AlterField(
            model_name='useractivitylog',
            name='resource_type',
            field=models.CharField(blank=True, choices=[('项目', 'project'), ('角色', 'role'), ('权限', 'permission'), ('用户', 'user'), ('集群', 'cluster'), ('节点', 'node'), ('模板', 'template'), ('应用', 'instance'), ('LoadBalance', 'lb'), ('WebConsole', 'web_console'), ('Helm', 'helm_app'), ('通知组', 'usergroup'), ('告警策略', 'alarmconfig'), ('事件规则', 'eventconfig'), ('告警屏蔽', 'alarmshield'), ('日志告警策略', 'log_monitor')], help_text='操作对象类型', max_length=32, null=True),
        ),
    ]
